package com.yupi.springbootinit.model.dto.workflow;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 工单下工序完成请求
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WorkorderStepCompleteRequest {
    @NotNull(message = "taskId不能为空")
    private Long taskId;

    @NotNull(message = "stepId不能为空")
    private Long stepId;

    private Long operatorId;

    private String operatorName;

    private String remark;
}